From: Marco Trevisan (TreviƱo) Date: Fri, 10 May 2019 21:17:55 +0000 (+0200) Subject: status/keyboard: Make Input source types var X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~811^2^2~165 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=06317f4f6a30ea6c141e8e0e65c5e65628799e36;p=gnome-shell.git status/keyboard: Make Input source types var These are used by keyboard so they need to be readable outside the status.keyboard module. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/700 --- diff --git a/js/ui/status/keyboard.js b/js/ui/status/keyboard.js index dbe5ded51..9383e9c2c 100644 --- a/js/ui/status/keyboard.js +++ b/js/ui/status/keyboard.js @@ -13,8 +13,8 @@ const PanelMenu = imports.ui.panelMenu; const SwitcherPopup = imports.ui.switcherPopup; const Util = imports.misc.util; -const INPUT_SOURCE_TYPE_XKB = 'xkb'; -const INPUT_SOURCE_TYPE_IBUS = 'ibus'; +var INPUT_SOURCE_TYPE_XKB = 'xkb'; +var INPUT_SOURCE_TYPE_IBUS = 'ibus'; var LayoutMenuItem = GObject.registerClass( class LayoutMenuItem extends PopupMenu.PopupBaseMenuItem {